package com.myapp.api.service;

import com.myapp.api.entity.StudentCourse;
import com.myapp.api.entity.StudentCourseKey;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface StudentCourseService {
    public List<StudentCourse> getStudentCourses();

    public int addStudentCourse(@Param("record") StudentCourse record);

    public int deleteStudentCourseById(@Param("key") StudentCourseKey key);

    public int putStudentCourse(@Param("record") StudentCourse record);
}
